﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using WPFToolsDemo.Windows;

namespace WPFToolsDemo
{
    /// <summary>
    /// Windows.xaml 的交互逻辑
    /// </summary>
    public partial class WindowsTest : Window
    {
        public WindowsTest()
        {
            InitializeComponent();
        }

        private void btnBaseWindow_Click(object sender, RoutedEventArgs e)
        {
            BaseWindow b = new BaseWindow();
            b.Show();

            
        }

        private void btnMessageDialog_Click(object sender, RoutedEventArgs e)
        {
            MessageBoxResult result =   WPFTools.Dialogs.MessageDialog.ShowMessage("测试    事实上事实上事实上事实上飒飒事实上事实上事实上事实  亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲亲上撒事实上是事实是事实是事实是事实是事实上生生世世", "标题", MessageBoxButton.YesNoCancel, this);
            MessageBox.Show(result.ToString());
        }
    }
}
